import { request, HttpMethod, restartTimes, RequestConfig } from './request'
import { getDoctorBaseInfoById } from './doctorBase'
// 绑定医生相关操作 


export const bindDoctorApi = (data: object) => {
  const config = <RequestConfig>{
    url: '/patient/patientDoctor',
    method: HttpMethod.POST,
    data: data,
  }
  return request(config);
}

export const getDoctorBaseInfoByIdBind = (doctorUid: string | number) => {
  return getDoctorBaseInfoById(doctorUid);
}